import { http } from "@/utils/http";

/** 项目列表 */
export const itemList = (data?: object) => {
  return http.request<any>("post", "api/grade/index/index", { data });
};

/** 账户添加 */
export const addItem = (data?: object) => {
  return http.request<any>("post", "api/grade/index/add", { data });
};

/** 账户编辑 */
export const editItem = (data?: object) => {
  return http.request<any>("post", "api/grade/index/edit", { data });
};

/** 账户删除 */
export const delItem = (data?: object) => {
  return http.request<any>("post", "api/grade/index/del", { data });
};